{if ('{cms:page:is_home}' != TRUE)}
<div id="single">
    {else}
    <div id="content">
        {/if}
        {cms:session:messages success="success-box" notice="notice-box" error="error-box"}
        <div class="content-body">
            {cms:template:body}
        </div>
        <div class="sidebar">
            {cms:widgets:area slug="sidebar"}
        </div>
    </div>
    {if ('{cms:page:is_home}' != TRUE)}
    <div id="content-footer"></div>
    {/if}

    <div class="video_box">
        {cms:widgets:area slug="videos-box"}
    </div>
    <div class="image_box">
        {cms:widgets:area slug="images-box"}
    </div>